package com.wry.spring.spi;

import java.util.Map;

/**
 * <h1>  </h1>
 *
 * @author wry
 * @since 2025.04.07
 */
public class OracleSearch implements Search{

    private Map<String, String> map = Map.of("1","李磊","2","王驰");

    @Override
    public String search(String id) {
        System.out.println("从Oracle搜索数据");
        return map.get(id);
    }
}
